Skip to content

fix: update generated OpenAI types for SDK v2.29+#273

Open
cpsievert wants to merge 1 commit intomainfrom
fix/update-openai-types-v2
Open

fix: update generated OpenAI types for SDK v2.29+#273
cpsievert wants to merge 1 commit intomainfrom
fix/update-openai-types-v2

Conversation

@cpsievert
Copy link
Copy Markdown
Collaborator

Summary

  • Updates generated OpenAI types to include new types added in OpenAI SDK v2.29+ (new tool types like ComputerUsePreviewToolParam, NamespaceToolParam, ToolSearchToolParam, and new model literals like gpt-5.4).
  • Fixes both the "Check Provider Types" and "Test" (pyright) CI failures on main.

Test plan

  • make check-types passes locally (0 errors)
  • uv run pytest passes locally (452 passed)
  • CI passes on this PR

🤖 Generated with Claude Code

The CI installs the latest OpenAI SDK which now includes new tool types
(ComputerUsePreviewToolParam, NamespaceToolParam, ToolSearchToolParam)
and new model literals. This caused both the Check Provider Types and
Pyright type checking CI jobs to fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant